package com.spring.bucks.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spring.bucks.model.Coffee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CoffeeMapper extends BaseMapper<Coffee> {

    Coffee selectByName(@Param("name") String name);

    List<Coffee> selectByIds(@Param("name") String name,@Param("ids") List<Integer> ids);
}
